github.com/klauspost/compress/zstd.decodeOutput.b (field)
30 uses
github.com/klauspost/compress/zstd (current package)
decoder.go#L126: if len(d.current.b) > 0 {
decoder.go#L127: filled := copy(p, d.current.b)
decoder.go#L129: d.current.b = d.current.b[filled:]
decoder.go#L135: if len(d.current.b) == 0 {
decoder.go#L145: if len(d.current.b) > 0 {
decoder.go#L147: println("returning", n, "still bytes left:", len(d.current.b))
decoder.go#L176: if len(d.current.b) > 0 {
decoder.go#L177: d.current.b = d.current.b[:0]
decoder.go#L201: d.current.b = dst
decoder.go#L266: d.current.b = nil
decoder.go#L290: if len(d.current.b) > 0 {
decoder.go#L291: n2, err2 := w.Write(d.current.b)
decoder.go#L295: } else if n2 != len(d.current.b) {
decoder.go#L422: d.current.b = d.current.b[:0]
decoder.go#L458: binary.LittleEndian.PutUint32(tmp[:], uint32(xxhash.Sum64(next.b)))
decoder.go#L459: println("got", len(d.current.b), "bytes, error:", d.current.err, "data crc:", tmp)
decoder.go#L466: if len(next.b) > 0 {
decoder.go#L467: d.current.crc.Write(next.b)
decoder.go#L490: for len(d.current.b) == 0 {
decoder.go#L523: d.current.b = d.frame.history.b[histBefore:]
decoder.go#L529: d.syncStream.decodedFrame += uint64(len(d.current.b))
decoder.go#L550: d.frame.crc.Write(d.current.b)
decoder.go#L636: b []byte
decoder.go#L773: do.b = block.dst
decoder.go#L779: do.b = block.data
decoder.go#L791: do.b = block.dst
decoder.go#L794: decodedFrame += uint64(len(do.b))
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |